# -*- codeing:UTF-8 -*_
'''
@Date   :2023/11/12
@Time   :20:07
@Author :RussellZhou
@Desc   :英雄联盟角色
'''
import requests
import os
from bs4 import BeautifulSoup

def get_url():
    url = "https://101.qq.com/#/hero-detail?heroid=1&datatype=5v5"
    header = {
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"}
    res = requests.get(url=url, headers=header)
    res.encoding='utf-8'
    html=res.text
    print(html)

get_url()
